package com.dc.gameserver.serverCore.model.dbsql.modelVo;

import java.io.Serializable;

public class TRoleBook implements Serializable {
    private Integer bookid;

    private Integer booktypeid;

    private Byte itemtype;

    private Integer ownerid;

    private Byte bookpinzhi;

    private Byte bookpinjie;

    private Integer booklevel;

    private Byte booktype;

    private Byte booklocation;

    private Long booktimeout;

    private Integer bookprice;

    private Boolean bookshowbag;

    private Integer bookpinjieexp;

    private Integer booksuccessusetimes;

    private Double effectnum1;

    private Double effectnumgrowup1;

    private Double effectnum2;

    private Double effectnumgrowup2;

    private Double effectnum3;

    private Double effectnumgrowup3;

    private static final long serialVersionUID = 1L;

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public Integer getBooktypeid() {
        return booktypeid;
    }

    public void setBooktypeid(Integer booktypeid) {
        this.booktypeid = booktypeid;
    }

    public Byte getItemtype() {
        return itemtype;
    }

    public void setItemtype(Byte itemtype) {
        this.itemtype = itemtype;
    }

    public Integer getOwnerid() {
        return ownerid;
    }

    public void setOwnerid(Integer ownerid) {
        this.ownerid = ownerid;
    }

    public Byte getBookpinzhi() {
        return bookpinzhi;
    }

    public void setBookpinzhi(Byte bookpinzhi) {
        this.bookpinzhi = bookpinzhi;
    }

    public Byte getBookpinjie() {
        return bookpinjie;
    }

    public void setBookpinjie(Byte bookpinjie) {
        this.bookpinjie = bookpinjie;
    }

    public Integer getBooklevel() {
        return booklevel;
    }

    public void setBooklevel(Integer booklevel) {
        this.booklevel = booklevel;
    }

    public Byte getBooktype() {
        return booktype;
    }

    public void setBooktype(Byte booktype) {
        this.booktype = booktype;
    }

    public Byte getBooklocation() {
        return booklocation;
    }

    public void setBooklocation(Byte booklocation) {
        this.booklocation = booklocation;
    }

    public Long getBooktimeout() {
        return booktimeout;
    }

    public void setBooktimeout(Long booktimeout) {
        this.booktimeout = booktimeout;
    }

    public Integer getBookprice() {
        return bookprice;
    }

    public void setBookprice(Integer bookprice) {
        this.bookprice = bookprice;
    }

    public Boolean getBookshowbag() {
        return bookshowbag;
    }

    public void setBookshowbag(Boolean bookshowbag) {
        this.bookshowbag = bookshowbag;
    }

    public Integer getBookpinjieexp() {
        return bookpinjieexp;
    }

    public void setBookpinjieexp(Integer bookpinjieexp) {
        this.bookpinjieexp = bookpinjieexp;
    }

    public Integer getBooksuccessusetimes() {
        return booksuccessusetimes;
    }

    public void setBooksuccessusetimes(Integer booksuccessusetimes) {
        this.booksuccessusetimes = booksuccessusetimes;
    }

    public Double getEffectnum1() {
        return effectnum1;
    }

    public void setEffectnum1(Double effectnum1) {
        this.effectnum1 = effectnum1;
    }

    public Double getEffectnumgrowup1() {
        return effectnumgrowup1;
    }

    public void setEffectnumgrowup1(Double effectnumgrowup1) {
        this.effectnumgrowup1 = effectnumgrowup1;
    }

    public Double getEffectnum2() {
        return effectnum2;
    }

    public void setEffectnum2(Double effectnum2) {
        this.effectnum2 = effectnum2;
    }

    public Double getEffectnumgrowup2() {
        return effectnumgrowup2;
    }

    public void setEffectnumgrowup2(Double effectnumgrowup2) {
        this.effectnumgrowup2 = effectnumgrowup2;
    }

    public Double getEffectnum3() {
        return effectnum3;
    }

    public void setEffectnum3(Double effectnum3) {
        this.effectnum3 = effectnum3;
    }

    public Double getEffectnumgrowup3() {
        return effectnumgrowup3;
    }

    public void setEffectnumgrowup3(Double effectnumgrowup3) {
        this.effectnumgrowup3 = effectnumgrowup3;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TRoleBook other = (TRoleBook) that;
        return (this.getBookid() == null ? other.getBookid() == null : this.getBookid().equals(other.getBookid()))
            && (this.getBooktypeid() == null ? other.getBooktypeid() == null : this.getBooktypeid().equals(other.getBooktypeid()))
            && (this.getItemtype() == null ? other.getItemtype() == null : this.getItemtype().equals(other.getItemtype()))
            && (this.getOwnerid() == null ? other.getOwnerid() == null : this.getOwnerid().equals(other.getOwnerid()))
            && (this.getBookpinzhi() == null ? other.getBookpinzhi() == null : this.getBookpinzhi().equals(other.getBookpinzhi()))
            && (this.getBookpinjie() == null ? other.getBookpinjie() == null : this.getBookpinjie().equals(other.getBookpinjie()))
            && (this.getBooklevel() == null ? other.getBooklevel() == null : this.getBooklevel().equals(other.getBooklevel()))
            && (this.getBooktype() == null ? other.getBooktype() == null : this.getBooktype().equals(other.getBooktype()))
            && (this.getBooklocation() == null ? other.getBooklocation() == null : this.getBooklocation().equals(other.getBooklocation()))
            && (this.getBooktimeout() == null ? other.getBooktimeout() == null : this.getBooktimeout().equals(other.getBooktimeout()))
            && (this.getBookprice() == null ? other.getBookprice() == null : this.getBookprice().equals(other.getBookprice()))
            && (this.getBookshowbag() == null ? other.getBookshowbag() == null : this.getBookshowbag().equals(other.getBookshowbag()))
            && (this.getBookpinjieexp() == null ? other.getBookpinjieexp() == null : this.getBookpinjieexp().equals(other.getBookpinjieexp()))
            && (this.getBooksuccessusetimes() == null ? other.getBooksuccessusetimes() == null : this.getBooksuccessusetimes().equals(other.getBooksuccessusetimes()))
            && (this.getEffectnum1() == null ? other.getEffectnum1() == null : this.getEffectnum1().equals(other.getEffectnum1()))
            && (this.getEffectnumgrowup1() == null ? other.getEffectnumgrowup1() == null : this.getEffectnumgrowup1().equals(other.getEffectnumgrowup1()))
            && (this.getEffectnum2() == null ? other.getEffectnum2() == null : this.getEffectnum2().equals(other.getEffectnum2()))
            && (this.getEffectnumgrowup2() == null ? other.getEffectnumgrowup2() == null : this.getEffectnumgrowup2().equals(other.getEffectnumgrowup2()))
            && (this.getEffectnum3() == null ? other.getEffectnum3() == null : this.getEffectnum3().equals(other.getEffectnum3()))
            && (this.getEffectnumgrowup3() == null ? other.getEffectnumgrowup3() == null : this.getEffectnumgrowup3().equals(other.getEffectnumgrowup3()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getBookid() == null) ? 0 : getBookid().hashCode());
        result = prime * result + ((getBooktypeid() == null) ? 0 : getBooktypeid().hashCode());
        result = prime * result + ((getItemtype() == null) ? 0 : getItemtype().hashCode());
        result = prime * result + ((getOwnerid() == null) ? 0 : getOwnerid().hashCode());
        result = prime * result + ((getBookpinzhi() == null) ? 0 : getBookpinzhi().hashCode());
        result = prime * result + ((getBookpinjie() == null) ? 0 : getBookpinjie().hashCode());
        result = prime * result + ((getBooklevel() == null) ? 0 : getBooklevel().hashCode());
        result = prime * result + ((getBooktype() == null) ? 0 : getBooktype().hashCode());
        result = prime * result + ((getBooklocation() == null) ? 0 : getBooklocation().hashCode());
        result = prime * result + ((getBooktimeout() == null) ? 0 : getBooktimeout().hashCode());
        result = prime * result + ((getBookprice() == null) ? 0 : getBookprice().hashCode());
        result = prime * result + ((getBookshowbag() == null) ? 0 : getBookshowbag().hashCode());
        result = prime * result + ((getBookpinjieexp() == null) ? 0 : getBookpinjieexp().hashCode());
        result = prime * result + ((getBooksuccessusetimes() == null) ? 0 : getBooksuccessusetimes().hashCode());
        result = prime * result + ((getEffectnum1() == null) ? 0 : getEffectnum1().hashCode());
        result = prime * result + ((getEffectnumgrowup1() == null) ? 0 : getEffectnumgrowup1().hashCode());
        result = prime * result + ((getEffectnum2() == null) ? 0 : getEffectnum2().hashCode());
        result = prime * result + ((getEffectnumgrowup2() == null) ? 0 : getEffectnumgrowup2().hashCode());
        result = prime * result + ((getEffectnum3() == null) ? 0 : getEffectnum3().hashCode());
        result = prime * result + ((getEffectnumgrowup3() == null) ? 0 : getEffectnumgrowup3().hashCode());
        return result;
    }
}